import request from "@/utils/request";

export default {
  getList(selectedId, currentPage, pageSize, startTime, endTime) {
    return request({
      url: `/selfTestResult/getList/${selectedId}/${currentPage}/${pageSize}`,
      method: "get",
      params: {
        startTime,
        endTime,
      },
    });
  },
  getTotal(selectedId, startTime, endTime) {
    return request({
      url: `/selfTestResult/getTotal/${selectedId}`,
      method: "get",
      params: {
        startTime,
        endTime,
      },
    });
  },
  allAnalysis() {
    return request({
      url: "/selfTestResult/analysis/all",
      method: "get"
    });
  },
};
